package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName Item
 * @Description:类描述
 * @Author Tedu
 * @Date 2021/6/22 10:23
 * @Version V1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Item {
    private Integer id;
    private String name;

    private Integer number;

    public static  void main(String[] args){
        Item item = new Item(5,"zs",5);
        item.setName("ls");
        System.out.println(item);
        System.out.println(item.getId());
    }


}
